ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.DXGI Namespace / Device Class / QueryResourceResidency Method / QueryResourceResidency(ComObject[]) Method
An array of Resource interfaces.

In This Topic
    QueryResourceResidency(ComObject[]) Method
    In This Topic
    Gets the residency status of an array of resources.
    Syntax
    'Declaration
     
    Public Overloads Function QueryResourceResidency( _
       ByVal ParamArray comObjects() As ComObject _
    ) As Residency()
    public Residency[] QueryResourceResidency( 
       params ComObject[] comObjects
    )

    Parameters

    comObjects
    An array of Resource interfaces.

    Return Value

    Returns an array of Residency flags. Each element describes the residency status for corresponding element in the ppResources argument array.
    Remarks
    The information returned by the pResidencyStatus argument array describes the residency status at the time that the QueryResourceResidency method was called. Note that the residency status will constantly change. If you call the QueryResourceResidency method during a device removed state, the pResidencyStatus argument will return the DXGI_RESIDENCY_EVICTED_TO_DISK flag. Note??This method should not be called every frame as it incurs a non-trivial amount of overhead.
    See Also